﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<nelech.Models.DBModel.Munach>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	רשימת מונחים
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="left">
 <%Html.RenderAction("AdvertShow", "Advert", new { id = 7 });%>
  <%Html.RenderAction("AdvertShow", "Advert", new { id = 7 });%>
  
</div>
<div id="main">
    <h2>רשימת מונחים</h2>
<ol>
               <% foreach(var item in Model) {%>
              <li>  <%=  Html.ActionLink(item.name, "MunachInfo", new { id = item.id })%>
              </li>
    
    <% } %>
</ol>
</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="publishTop" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Right" runat="server">
</asp:Content>

